<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style type="text/css">
    body { background: #f1f1f1; }
    ul {
      margin: 150px auto 0;
      padding: 0;
      width: 968px;
    }
    ul li {
      list-style: none;
      float: left;
      width: 240px; height: 200px;
      border: 1px solid #ccc;
      background: #fff;
      transition: 0.3s;
    }
    ul li:hover {
      box-shadow: inset 0 0 40px rgba(128,128,128,0.3);
    }
    li:first-child {
      border-radius: 10px 0 0 10px;
    }
    li:last-child {
      border-radius: 0 10px 10px 0;
    }
  </style>
</head>
<body>
  <ul>
    <li>1</li>
    <li>2</li>
    <li>3</li>
    <li>4</li>
  </ul>
</body>
</html>